Module(
body=[
Assign(
targets=[
Name(id='four', ctx=Store())],
value=BinOp(
left=Constant(value=4),
op=Add(),
right=Constant(value=4)))],
type_ignores=[])
Начинающий программист
Опытный программист
Есть 2 способа ускорить чтение и понимания кода:
| Linter | Category | Description |
|---|---|---|
| Pylint | Logical & Stylistic | Checks for errors, tries to enforce a coding standard, looks for code smells |
| PyFlakes | Logical | Analyzes programs and detects various errors |
| Pycodestyle | Stylistic | Checks against some of the style conventions in PEP8 |
| Pydocstyle | Stylistic | Checks compliance with Python docstring conventions |
| Bandit | Logical | Analyzes code to find common security issues |
| MyPy | Logical | Checks for optionally-enforced static types |
Module(
body=[
Assign(
targets=[
Name(id='four', ctx=Store())],
value=BinOp(
left=Constant(value=4),
op=Add(),
right=Constant(value=4)))],
type_ignores=[])